var shares, sharewx;
document.addEventListener('plusready', function () {
    plus.share.getServices(function (s) {
        shares = s;
        for (var i in s) {
            if ('weixin' == s[i].id) {
                sharewx = s[i];
            }
        }
    }, function (e) {
        alert("获取分享服务列表失败：" + e.message);
    })
}, false);
var ShareAction = function (id) {
    this.picid = $(id).attr('id');
}
ShareAction.prototype.share = function () {
    var href = ur + 'index.html?id=' + localStorage.personId + '&personName=' + encodeURI(localStorage.personName);
    window.location.href = href;
}